import request from '@/utils/request'

export function getGroupList(data) {
  return request({
    url: '/api/monitor/itimsGroup/getItimsGroupPageList',
    method: 'post',
    data: data
  })
}

export function saveGroup(data) {
  return request({
    url: '/api/monitor/itimsGroup/saveItimsGroup',
    method: 'post',
    data: data
  })
}

export function updateGroup(data) {
  return request({
    url: '/api/monitor/itimsGroup/updateItimsGroup',
    method: 'post',
    data: data
  })
}

export function getGroupDetail(data) {
  return request({
    url: '/api/monitor/itimsGroup/getItimsGroupDetail',
    method: 'post',
    data: data
  })
}

export function deleteItimsGroup(data) {
  return request({
    url: '/api/monitor/itimsGroup/deleteItimsGroup',
    method: 'post',
    data: data
  })
}

export function saveEquipmentGroupList(data) {
  return request({
    url: '/api/monitor/equipmentGroup/saveEquipmentGroupList',
    method: 'post',
    data: data
  })
}

